package io.renren.modules.PCguanli.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.PCguanli.dao.ExamRegistrationRpDao;
import io.renren.modules.PCguanli.entity.ExamRegistrationRpEntity;
import io.renren.modules.PCguanli.service.ExamRegistrationRpService;


@Service("examRegistrationRpService")
public class ExamRegistrationRpServiceImpl extends ServiceImpl<ExamRegistrationRpDao, ExamRegistrationRpEntity> implements ExamRegistrationRpService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ExamRegistrationRpEntity> page = this.page(
                new Query<ExamRegistrationRpEntity>().getPage(params),
                new QueryWrapper<ExamRegistrationRpEntity>()
        );

        return new PageUtils(page);
    }

}